package com.kelaite.procurement.service;

import java.util.List;

import com.kelaite.procurement.dto.PurchaseOrderExecutionItemsDTO;
import com.kelaite.procurement.entity.TPurchaseOrderExecution;

public interface PurchaseOrderExecutionService {
	public TPurchaseOrderExecution save(TPurchaseOrderExecution persistence);

	public void deleteByPrimaryKey(Long id);
	
	public void deleteByObject(TPurchaseOrderExecution persistence);

	public TPurchaseOrderExecution getObject(Long id);
	
	public List<TPurchaseOrderExecution> getAll();

	public List<TPurchaseOrderExecution> getByProperty(String property, Object value);
	
	public int confirmPurchaseOrderExecution(String[] orderExecutionIds,List<PurchaseOrderExecutionItemsDTO> purchaseOrderExecutionItems);
	
}
